package com.nwpu.coursesupport.service.param;

import java.util.List;

import com.nwpu.coursesupport.entity.LessonResource;
import com.nwpu.coursesupport.enumeration.LessonType;

public class LessonResourceServiceParam{
	
	public static class UnAssignLessonParam{
		private int classId;
		private int rid;
		
		private LessonType lessonType;
		
		public LessonType getLessonType() {
			return lessonType;
		}
		public void setLessonType(LessonType lessonType) {
			this.lessonType = lessonType;
		}
		public int getClassId() {
			return classId;
		}
		public void setClassId(int classId) {
			this.classId = classId;
		}
		public int getRid() {
			return rid;
		}
		public void setRid(int rid) {
			this.rid = rid;
		}
		
	}
	
	
	public static class BatchCreateParam{
		//List<Integer> resources;
		private int rid;
		List<Integer> lessons;
		/*public List<Integer> getResources() {
			return resources;
		}
		public void setResources(List<Integer> resources) {
			this.resources = resources;
		}*/
		
		public List<Integer> getLessons() {
			return lessons;
		}
		public int getRid() {
			return rid;
		}
		public void setRid(int rid) {
			this.rid = rid;
		}
		public void setLessons(List<Integer> lessons) {
			this.lessons = lessons;
		}
		
	}
	
    public static class CreateParam {
    	
    	private Integer resourceId;
    	private Integer lessonId;
		public Integer getResourceId() {
			return resourceId;
		}
		public void setResourceId(Integer resourceId) {
			this.resourceId = resourceId;
		}
		public Integer getLessonId() {
			return lessonId;
		}
		public void setLessonId(Integer lessonId) {
			this.lessonId = lessonId;
		}
    }
    
    public static class UpdateParam extends LessonResource{
        
    }
}
